#include "ELAbstractShape.h"
#include <cstdlib>
ELAbstractShape::ELAbstractShape(bool ** tableState, QColor ***tableColors, int numBlockVertical, int numBlockHorizontal)
    : hasBlock(tableState), colors(tableColors), row(numBlockVertical), column(numBlockHorizontal)
    , left_(0), top_(0), state(rand() % 4)
{}
